﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DELVE_GAME.ViewStructure.GameActions
{
    class SetFogofWarAction : GameAction
    {
        GameSettings gameSettings;
        bool fow;

        public SetFogofWarAction(GameSettings gamesettings, bool isFow)
        {
            this.gameSettings = gamesettings;
            this.fow = isFow;
        }

        public override void doAction()
        {
            gameSettings.setFogOfWar(fow);

        }
    }
}
